import service from "@/utils/http";


export function queryTask() {
    return service.get(
        "/task/query"
    );
}

export function addTask(data) {
    return service.post(
        "/task/add",
        data
    );
}

export function updateTask(data) {
    return service.post(
        "/task/update",
        data
    );
}

export function deleteTask(data) {
    return service.post(
        "/task/del",
        data
    );
}